
Modal.af-add-modal-lzw(v-model="checkModalShow" fullscreen :title="checkModalTitle" @on-ok="confirmFn" :mask-closable="false")
  Spin(v-if="spinShow" size="large" fix)
  Form.add-modal(ref="formCustom")
    .search-form-lzw
      Row.mb-15(type="flex" justify="start") 
        Col.pr-20.mb-15(span="8")
          span.label-txt 商保编号：
          Input.input-has-border(v-model="codeDetailInfo.securityNO" type="text" clearable :disabled="isCheckModel")
        Col.pr-20.mb-15(span="8")
          span.label-txt 保险公司：
          Input.input-has-border(v-model="codeDetailInfo.companyName" type="text" clearable :disabled="isCheckModel") 
        Col.pr-20.mb-15(span="8")
          span.label-txt 商保金额：
          Input.input-has-border(v-model="codeDetailInfo.totalAmount" type="text" clearable :disabled="isCheckModel")
        Col.pr-20.mb-15(span="8")
          span.label-txt 是否收款：
          i-switch(v-model="codeDetailInfo.isReceivables" true-color="#00a4db" size="large" :disabled="isCheckModel")
            span(slot="open") 是
            span(slot="close") 否
        Col.pr-20.mb-15(span="8")
          span.label-txt 是否开票：
          i-switch(v-model="codeDetailInfo.isInvoice" true-color="#00a4db" size="large" :disabled="isCheckModel" )
            span(slot="open") 是
            span(slot="close") 否
        Col.pr-20.mb-15(span="8")
          span.label-txt 商保专员：
          Select.input-has-border(v-model="codeDetailInfo.commissionerUserId" label-in-value clearable @on-change="detailCommissionerUserIdChange" filterable :disabled="isCheckModel")
            Option(v-for="item in commissionerUserIdArr" :value="item.key" :key="item.key") {{item.value}}
        Col.pr-20.mb-15(span="6")
          span.label-txt 状态：
          i-switch(v-model="codeDetailInfo.enabled" true-color="#00a4db" size="large" :disabled="isCheckModel" )
            span(slot="open") 启用
            span(slot="close") 禁用
    Divider
    .search-form-lzw
      Row
        Col.mb-15(:md="{ span: 11, offset: 1 }" :lg="{ span: 10, offset: 1 }")
          span.label-txt 是否可替换：
          i-switch(v-model="codeDetailInfo.canReplace" true-color="#00a4db" size="large" :disabled="isCheckModel")
            span(slot="open") 是
            span(slot="close") 否
        Col.mb-15(:md="{ span: 11, offset: 1 }" :lg="{ span: 10, offset: 1 }")
          span.label-txt 费用收取方式：
          Select.input-has-border(v-model="codeDetailInfo.paymentType" style="width:100px" :disabled="isCheckModel")
            Option(v-for='item in paymentTypeSelect', :value='item.value', :key='item.value') {{ item.label }}
      Row
        Col.mb-15(:md="{ span: 11, offset: 1 }" :lg="{ span: 10, offset: 1 }")
          span.label-txt 异动操作时长：
          Input.input-has-border(v-model="codeDetailInfo.changeOperateDuration" placeholder="请输入" :disabled="isCheckModel")
      Row
        Col.mb-15(v-if="codeDetailInfo.increasDay" :md="{ span: 11, offset: 1 }" :lg="{ span: 10, offset: 1 }")
          span.label-txt 增员起止时间：
          Select.input-has-border(v-model="codeDetailInfo.increasDay.begin" placement="top" @on-change="increasDayVerification(codeDetailInfo)" :disabled="isCheckModel" placeholder="开始时间")
            Option(v-for='item in endTime', :value='item.value', :key='item.value') {{ item.label }}
          span.pr-10.pl-10 --
          Select.input-has-border(v-model="codeDetailInfo.increasDay.end" placement="top" @on-change="increasDayVerification(codeDetailInfo)" :disabled="isCheckModel" placeholder="截止时间")
            Option(v-for='item in endTime', :value='item.value', :key='item.value') {{ item.label }}
        Col.mb-15(v-if="codeDetailInfo.reduceDay" :md="{ span: 11, offset: 1 }" :lg="{ span: 10, offset: 1 }")
          span.label-txt 减员起止时间：
          Select.input-has-border(v-model="codeDetailInfo.reduceDay.begin" placement="top" @on-change="reduceDayVerification(codeDetailInfo)" :disabled="isCheckModel" placeholder="开始时间")
            Option(v-for='item in endTime', :value='item.value', :key='item.value') {{ item.label }}
          span.pr-10.pl-10 --
          Select.input-has-border(v-model="codeDetailInfo.reduceDay.end" placement="top" @on-change="reduceDayVerification(codeDetailInfo)" :disabled="isCheckModel" placeholder="截止时间")
            Option(v-for='item in endTime', :value='item.value', :key='item.value') {{ item.label }}
  template(v-if="isCheckModel" slot="footer")
    Button(@click="closeCheckModal") 关闭
    Button(type="info" @click="reviseFromModal") 修改
  template(v-else slot="footer")
    Button(@click="closeCheckModal") 取消
    Button(type="info" @click="confirmRevise") 确认修改
    


